// router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import LoginView from '../views/login/LoginView.vue'
import HomeView from '../views/home/HomeView.vue'
import LivingVideo from '../views/LivingVideo/LivingVideo.vue'
import FanVideo from '../views/FanVideo/FanVideo.vue'
import Message from '../views/home/NavItem/components/Message.vue'
import Dynamic from '../views/home/NavItem/components/Dynamic.vue'
import Histroy from '../views/home/NavItem/components/Histroy.vue'
import Vip from '../views/home/NavItem/components/VIp.vue'
import GameCenter from '../views/GameCenter/GameCenter.vue'
import AllMessages from '../views/home/NavItem/Message/AllMessages.vue'
import Replies from '../views/home/NavItem/Message/Replies.vue'
import VipShop from '../views/VipShop/VipShop.vue'
import MasterView from '../views/MasterView/MasterView.vue'
import ComicView from '../views/ComicView/ComicView.vue'
import RankList from '../views/ComicView/RankList/RankList.vue'
import UpdatedList from '../views/ComicView/UpdatedList/UpdatedList.vue'
import ClassifiedList from '../views/ComicView/ClassifiedList/ClassifiedList.vue'
import DownLoad from '../views/DownLoad/DownLoad.vue'
import BIMeng from '../views/BiMeng/BiMeng.vue'
import BigVip from '../views/BigVip/BigVip.vue'
import Platform from '../views/Platform/Platform.vue'

// import Mentions from '../views/home/NavItem/components/message/Mentions.vue'
// import Likes from '../views/home/NavItem/components/message/Likes.vue'
// import SystemNotifications from '../views/home/NavItem/components/message/SystemNotifications.vue'
// import MessageSettings from '../views/home/NavItem/components/message/MessageSettings.vue'
// import RecentMessages from '../views/home/NavItem/components/message/RecentMessages.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'LoginView',
      component: LoginView,
    },
    {
      path: '/HomeView',
      name: 'HomeView',
      component: HomeView,
    },
    {
      path: '/LivingVideo',
      name: 'LivingVideo',
      component: LivingVideo,
    },
    {
      path: '/FanVideo',
      name: 'FanVideo',
      component: FanVideo,
    },
     {
      path: '/Dynamic',
      name: 'Dynamic',
      component: Dynamic,
    },
 {
      path: '/Histroy',
      name: 'Histroy',
      component: Histroy,
    },
     {
      path: '/Vip',
      name: 'Vip',
      component: Vip,
    },
     {
      path: '/GameCenter',
      name: 'GameCenter',
      component: GameCenter,
    },
     {
      path: '/VipShop',
      name: 'VipShop',
      component: VipShop,
    },
     {
      path: '/MasterView',
      name: 'MasterView',
      component: MasterView,
    },
    {
      path: '/DownLoad',
      name: 'DownLoad',
      component: DownLoad,
    },
    {
      path: '/ComicView',
      name: 'ComicView',
      component: ComicView,
    },
     {
      path: '/RankList',
      name: 'RankList',
      component: RankList,
    },
    {
      path: '/UpdatedList',
      name: 'UpdatedList',
      component: UpdatedList,
    },
    {
      path: '/ClassifiedList',
      name: 'ClassifiedList',
      component: ClassifiedList,
    },
    {

      path: '/BIMeng',
      name: 'BIMeng',
      component: BIMeng,
    },
     {
      path: '/BigVip',
      name: 'BigVip',
      component: BigVip,
    },
    {
      path: '/Platform',
      name: 'Platform',
      component: Platform,
    },
    {
      path: '/Message',
      name: 'Message',
      component: Message,
      children: [

        {
          path: 'allMessages',
          name: 'AllMessages',
          component: AllMessages
        },
        {
          path: 'replies',
          name: 'Replies',
          component: Replies
        },
        // {
        //   path: 'mentions',
        //   name: 'Mentions',
        //   component: Mentions
        // },
        // {
        //   path: 'likes',
        //   name: 'Likes',
        //   component: Likes
        // },
        // {
        //   path: 'system',
        //   name: 'SystemNotifications',
        //   component: SystemNotifications
        // },
        // {
        //   path: 'settings',
        //   name: 'MessageSettings',
        //   component: MessageSettings
        // },
        // {
        //   path: 'recent',
        //   name: 'RecentMessages',
        //   component: RecentMessages
        // }
      ]
    },
  ],
})

export default router
